Skip to content

feat(context): inject high-order memory layers#1020

Merged
wbugitlab1 merged 2 commits into
mainfrom
issue/295-context-inject-memory-layers
Jun 19, 2026
Merged

feat(context): inject high-order memory layers#1020
wbugitlab1 merged 2 commits into
mainfrom
issue/295-context-inject-memory-layers

Conversation

@wbugitlab1

Copy link
Copy Markdown
Owner

Summary

  • Add AGENTMEMORY_HIGH_ORDER_CONTEXT to gate insight, semantic, procedural, and crystal context/search reads.
  • Inject procedural memories and crystals into mem::context, while preserving existing token-budget block selection and adding visible typed IDs for all high-order tiers.
  • Extend mem::smart-search and mem::query normalization with semantic, procedural, and crystal side arrays.
  • Document the new injected context blocks and refresh the generated config reference.

Fixes #295.

Verification

  • corepack pnpm exec vitest run --exclude test/integration.test.ts test/consolidation-default.test.ts test/context-insights-semantic.test.ts test/context-lessons.test.ts test/smart-search.test.ts test/query-integration.test.ts test/plugin-surface-contract.test.ts
  • corepack pnpm run skills:check
  • corepack pnpm test
  • corepack pnpm run lint
  • corepack pnpm run build
  • semgrep scan --config p/default --error --metrics=off .
  • gitleaks protect --staged --redact

Willi Budzinski added 2 commits June 19, 2026 17:03
…ect-memory-layers

# Conflicts:
#	plugin/skills/agentmemory-config/REFERENCE.md
@wbugitlab1 wbugitlab1 merged commit 8bf46f7 into main Jun 19, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(context): inject semantic + procedural + crystals + insights into mem::context (dark memory gap)

1 participant